Feature/100 add architecture tests or architectural guardrails for novamoduletools#130
Merged
stiwicourage merged 3 commits intoApr 28, 2026
Conversation
- Implement tests to ensure public commands do not use raw infrastructure primitives - Centralize environment-variable access in the shared helper - Centralize direct git execution in the shared git adapter - Ensure raw upload requests are handled by the package request adapter
- implement tests for self-update execution order - verify public orchestration entrypoints delegate to context and workflow helpers - ensure project.json persistence is limited to expected callers
- rename test cases to reflect approved helper surface - enhance validation of public command files against expected helpers
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Gates Passed
6 Quality Gates Passed
See analysis details in CodeScene
Quality Gate Profile: Pay Down Tech Debt
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
34 tasks
stiwicourage
deleted the
feature/100-add-architecture-tests-or-architectural-guardrails-for-novamoduletools
branch
May 12, 2026 05:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/ArchitectureGuardrails.Tests.ps1so key infrastructure seams and layering expectations stay enforced by automated tests instead of convention alone.plan.mdwith the next architecture follow-up slices and recordedtests/ArchitectureGuardrails.Tests.ps1as the current host for these checks.project.jsonpersistence.plan.md.Affected area
novaCLI or command routingproject.jsonhandlingREADME.md,CONTRIBUTING.md, repository workflow docs)docs/*.html)docs/NovaModuleTools/en-US/*.md)src/resources/example/package.json, workflow dependencies, release tooling)Other affected area details:
tests/ArchitectureGuardrails.Tests.ps1Review guidance
tests/ArchitectureGuardrails.Tests.ps1.Update-Moduleusage staying behindInvoke-NovaModuleUpdateCommandproject.jsonwrites staying limited toWrite-ProjectJsonDataand its known callersplan.mdfor the recorded follow-up plan and the updated examples of guardrails worth extending later.tests/ArchitectureGuardrails.Tests.ps1plan.mdtests/ArchitectureGuardrails.Tests.ps1must be updated alongside that change.Validation
Invoke-NovaBuildTest-NovaBuild./scripts/build/Invoke-ScriptAnalyzerCI.ps1./scripts/build/ci/Invoke-NovaModuleToolsCI.ps1% nova build,% nova test,% nova merge,% nova deploy,% nova publish,% nova release,% nova update,% nova notification, or% nova initas relevant)Validation notes:
Documentation and release follow-up
README.mdreviewed and updated if contributor workflow, architecture, CI, release, or automation changedCONTRIBUTING.mdreviewed and updated if contribution expectations or review guidance changedCHANGELOG.mdreviewed and updated if the change matters to users, maintainers, or contributorsdocs/NovaModuleTools/en-US/help updated if a public command or CLI behavior changeddocs/*.htmlupdated if end-user workflows or examples changedsrc/resources/example/reviewed and updated if the real-world project layout, package model, or upload workflowchanged
Maintainability, compatibility, and risk
Risk, rollout, or rollback notes: